/*
 * @Description: 设置属性
 * @Author: wangqi
 * @Date: 2021-05-23 11:02:18
 * @LastEditTime: 2021-05-23 11:48:10
 */

export const def = function (obj, key, value, enumerable) {
    Object.defineProperty(obj, key, {
        value,
        enumerable,
        writable: true,
        configurable: true
    })
}
